﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="X9Tech.HashWall.ContentLineItemControl"
	x:Name="UserControl" Height="131.2" Width="Auto" RenderTransformOrigin="0.5,0.5">
	<UserControl.Resources>
		<Storyboard x:Key="ShrinkToNothing"/>
		<Storyboard x:Key="Expand"/>
	</UserControl.Resources>
	<UserControl.RenderTransform>
		<TransformGroup>
			<ScaleTransform ScaleX="1" ScaleY="1"/>
			<SkewTransform AngleX="0" AngleY="0"/>
			<RotateTransform Angle="0"/>
			<TranslateTransform X="0" Y="0"/>
		</TransformGroup>
	</UserControl.RenderTransform>
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource ShrinkToNothing}"/>
			<BeginStoryboard Storyboard="{StaticResource Expand}"/>
		</EventTrigger>
	</UserControl.Triggers>

	<Grid x:Name="LayoutRoot">
		<Border HorizontalAlignment="Stretch" Margin="2,2,2,2" Width="Auto" Padding="2,2,2,2" BorderBrush="#A4FFFFFF" Background="#47080808" Opacity="1" CornerRadius="5,5,5,5" BorderThickness="1,1,1,1">
			<Grid>
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="123.176"/>
					<ColumnDefinition Width="*"/>
				</Grid.ColumnDefinitions>
				<Grid Grid.Column="1">
					<Grid.RowDefinitions>
						<RowDefinition Height="40.051"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="23.961"/>
					</Grid.RowDefinitions>
					<Border x:Name="UserIdBorder" CornerRadius="4,4,4,4" Margin="2,2,2,2" Padding="0,2,2,2" Background="#9C474747" Opacity="1" BorderBrush="#B7FFFFFF">
						<Label Content="User Display Name" Foreground="#FFBAB7B7" x:Name="UserDisplayName" FontFamily="Segoe UI" FontSize="18" FontWeight="Bold" FontStyle="Normal" FontStretch="Normal" d:IsStaticText="True" Background="#00A2A2A2"/>
					</Border>
					<Label HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="Message Subtext" Grid.Row="2" Margin="0,0,0,0" Height="Auto" FontSize="10" Foreground="#FFD5D5D5" x:Name="MessageSubtextLabel"/>
                    <TextBlock Text="This is a test" TextWrapping="Wrap" Grid.Row="1" Margin="3,0,0,0" Foreground="#FFFFFF" FontSize="22" FontFamily="Trebuchet MS" FontWeight="Bold" x:Name="MessageTextLabel" />
                </Grid>
				<Border Margin="3,3,3,3" CornerRadius="4,4,4,4" RenderTransformOrigin="0.5,0.5">
					<Border.RenderTransform>
						<TransformGroup>
							<ScaleTransform ScaleX="0.95" ScaleY="0.95"/>
							<SkewTransform AngleX="0" AngleY="-5"/>
							<RotateTransform Angle="0"/>
							<TranslateTransform X="0" Y="0"/>
						</TransformGroup>
					</Border.RenderTransform>
					<Image Width="Auto" Height="Auto" Source="..\Content\Twitterpic.jpg" RenderTransformOrigin="0.5,0.5" x:Name="MessageImage"/>
				</Border>
			</Grid>
		</Border>
	</Grid>
</UserControl>